package aufgabe1.teilaufgabe2;

public class Main {

	/**
	 * Author: Redenius, Winter
	 */

	public static void main(String[] args) {
		Listen aaa = new Listen();
		System.out.println("############################");
		System.out.println("Insert1");
		aaa.insert(0,String.format("test1") );
		System.out.println("GET0"+aaa.get(0));
		System.out.println("############################");
		System.out.println("Insert2");
		aaa.insert(0,String.format("test2") );
		System.out.println("GET0"+aaa.get(0));
		System.out.println("GET0"+aaa.get(1));
        System.out.println("############################");
        System.out.println("Insert3");
		aaa.insert(2,String.format("test3") );
		System.out.println("GET0"+aaa.get(0));
		System.out.println("GET0"+aaa.get(1));
		System.out.println("GET0"+aaa.get(2));
		System.out.println("############################");
        System.out.println("Insert4");
		aaa.insert(2,String.format("test4") );
		System.out.println("GET0"+aaa.get(0));
		System.out.println("GET0"+aaa.get(1));
		System.out.println("GET0"+aaa.get(2));
		System.out.println("GET0"+aaa.get(3));
		
		
		//aaa.insert(2,String.format("testInsert") );
		//System.out.println("GET"+aaa.get(2));
		
		
/*		Listen a = new Listen();
		for (int i = 0;i <100000;i++){
			//System.out.println(a.length());
			a.insert(i, i);
		}*/
		
	    //aaa.insert(2,String.format("test8") );

	}// main

}// Main
